package com.weipai.springboot.module.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @Author: 曹朋飞
 * @Date: 2018/08/20 19:32
 * 
 * 前端登录
 */
@RestController
public class AppToLoginController {

    /**
     * 添加需求
     * @param mobile
     * @param password
     * @return
     */
    @RequestMapping("/login")
    @PostMapping("/toLogin")
    public Map<String, Object> toLogin(String mobile, String password){
        return null;
    }
}
